package com.ruoyi.reportInfo.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.*;

import java.util.Date;

import java.math.BigDecimal;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 场站基本信息业务对象 industrial_station
 *
 * @author yangzhen
 * @date 2025-11-24
 */

@Data
@EqualsAndHashCode(callSuper = true)
@Schema(name = "IndustrialStationBo", description = "场站基本信息业务对象")
public class IndustrialStationBo extends BaseEntity {

    /**
     * 主键id
     */
    @Schema(description = "主键id")
    @NotBlank(message = "主键id不能为空", groups = {EditGroup.class})
    private String id;

    /**
     * 场站名称
     */
    @Schema(description = "场站名称")
    @NotBlank(message = "场站名称不能为空", groups = {AddGroup.class, EditGroup.class})
    private String stationName;

    /**
     * 场站类型
     */
    @Schema(description = "场站类型")
    @NotBlank(message = "场站类型不能为空", groups = {AddGroup.class, EditGroup.class})
    private String stationType;

    /**
     * 主要货物类型
     */
    @Schema(description = "主要货物类型")
    @NotBlank(message = "主要货物类型不能为空", groups = {AddGroup.class, EditGroup.class})
    private String mainGoodsType;

    /**
     * 社会统一信用代码
     */
    @Schema(description = "社会统一信用代码")
    @NotBlank(message = "社会统一信用代码不能为空", groups = {AddGroup.class, EditGroup.class})
    private String unifiedSocialCode;

    /**
     * 经营方
     */
    @Schema(description = "经营方")
    @NotBlank(message = "经营方不能为空", groups = {AddGroup.class, EditGroup.class})
    private String operatorCompany;

    /**
     * 园区面积
     */
    @Schema(description = "园区面积")
    @NotNull(message = "园区面积不能为空", groups = {AddGroup.class, EditGroup.class})
    private BigDecimal area;

    /**
     * 园区地址
     */
    @Schema(description = "园区地址")
    @NotBlank(message = "园区地址不能为空", groups = {AddGroup.class, EditGroup.class})
    private String address;

    /**
     * 经度
     */
    @Schema(description = "经度")
    @NotBlank(message = "经度不能为空", groups = {AddGroup.class, EditGroup.class})
    private String longitude;

    /**
     * 纬度
     */
    @Schema(description = "纬度")
    @NotBlank(message = "纬度不能为空", groups = {AddGroup.class, EditGroup.class})
    private String latitude;

    /**
     * 所属园区id
     */
    @Schema(description = "所属园区id")
    @NotBlank(message = "所属园区id不能为空", groups = {AddGroup.class, EditGroup.class})
    private String belongParkId;

    /**
     * 所属园区名称
     */
    @Schema(description = "所属园区名称")
    @NotBlank(message = "所属园区名称不能为空", groups = {AddGroup.class, EditGroup.class})
    private String belongParkName;

    /**
     * 园区负责人
     */
    @Schema(description = "园区负责人")
    @NotBlank(message = "园区负责人不能为空", groups = {AddGroup.class, EditGroup.class})
    private String manager;

    /**
     * 园区负责人联系方式
     */
    @Schema(description = "园区负责人联系方式")
    @NotBlank(message = "园区负责人联系方式不能为空", groups = {AddGroup.class, EditGroup.class})
    private String managerContact;

    /**
     * 规划附件
     */
    @Schema(description = "规划附件")
    @NotBlank(message = "不能为空", groups = {AddGroup.class, EditGroup.class})
    private String fileList1;

    /**
     * 可研附件
     */
    @Schema(description = "可研附件")
    @NotBlank(message = "不能为空", groups = {AddGroup.class, EditGroup.class})
    private String fileList2;

    /**
     * 初步设计附件
     */
    @Schema(description = "初步设计附件")
    @NotBlank(message = "不能为空", groups = {AddGroup.class, EditGroup.class})
    private String fileList3;

    /**
     * 施工图设计附件
     */
    @Schema(description = "施工图设计附件")
    @NotBlank(message = "不能为空", groups = {AddGroup.class, EditGroup.class})
    private String fileList4;

    /**
     * 其他附件
     */
    @Schema(description = "其他附件")
    @NotBlank(message = "不能为空", groups = {AddGroup.class, EditGroup.class})
    private String fileList5;

    /**
     * 备注
     */
    @Schema(description = "备注")
    @NotBlank(message = "备注不能为空", groups = {AddGroup.class, EditGroup.class})
    private String remark;

    /**
     * 数据状态
     */
    @Schema(description = "数据状态")
    @NotNull(message = "数据状态不能为空", groups = {AddGroup.class, EditGroup.class})
    private Long dataStatus;

    /**
     * 数据来源
     */
    @Schema(description = "数据来源")
    @NotBlank(message = "数据来源不能为空", groups = {AddGroup.class, EditGroup.class})
    private String dataSources;

    /**
     * 收集日期
     */
    @Schema(description = "收集日期")
    @NotNull(message = "收集日期不能为空", groups = {AddGroup.class, EditGroup.class})
    private Date collectDate;

    /**
     * 数据收集时间
     */
    @Schema(description = "数据收集时间")
    @NotNull(message = "数据收集时间不能为空", groups = {AddGroup.class, EditGroup.class})
    private Date reportCollectDate;

    /**
     * 入住平台状态
     */
    @Schema(description = "入住平台状态")
    private String checkInStatus;

    @Schema(description = "统计年份日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date statisticalYearDate;
}
